package alingrad.engine.objects;

import javax.microedition.khronos.opengles.GL10;


public abstract class TreeNode {
	private boolean mIsValid;

	public void load() {
	}

	public void loadGraphics(GL10 gl) {
	}

	public TreeNode() {
		mIsValid = true;
	}

	public abstract void update(final long delta);

	public void invalidate() {
		mIsValid = false;
	}

	public boolean isValid() {
		return mIsValid;
	}
}
